import type { CaseContextDescriptionKeys } from './caseContextDescriptionKeys'

export interface IContextDescriptionItem {
    key: CaseContextDescriptionKeys
    value: string
}

export interface IReqData {
    user: string
    context: IContextDescriptionItem[]
    knowledgeBase?: {
        id: number
        title: string
        collectionName: string
    }
    enableKnowledgeBase?: boolean
    messages?: IMessage[]
}

export interface IMessage extends Record<string, any> {
    type: 'system' | 'user' | 'assistant'
    content: string
}
